home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 7336 / 7336.xpi / chrome / skin / classic / overlay.css < prev    next >
Cascading Style Sheet File  |  2009-11-25  |  6KB  |  153 lines

  1. /******************************************************************************
  2. Copyright 2008 Matthew Holder. All rights reserved.
  3.  
  4. Redistribution and use in source and binary forms, with or without
  5. modification, are permitted provided that the following conditions are met:
  6.  
  7.    1. Redistributions of source code must retain the above copyright notice,
  8. this list of conditions and the following disclaimer.
  9.    2. Redistributions in binary form must reproduce the above copyright notice,
  10. this list of conditions and the following disclaimer in the documentation
  11. and/or other materials provided with the distribution.
  12.  
  13. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
  14. WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  15. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
  16. EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  17. INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  18. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  19. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  20. LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
  21. OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  22. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  23. *********************************************************************************/
  24. @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
  25.  
  26. #main-window #minimize-button
  27. {
  28.     list-style-image: url(chrome://glasser/skin/Minimize.gif);
  29. }
  30.  
  31. #main-window #restore-button
  32. {
  33.     list-style-image: url(chrome://glasser/skin/Restore.gif);
  34. }
  35.  
  36. #main-window #close-button
  37. {
  38.     list-style-image: url(chrome://glasser/skin/Close.gif);
  39. }
  40.  
  41. #main-window #navigator-toolbox
  42. {
  43.     -moz-appearance: none !important;
  44.     border: 0 none !important;
  45.     padding: 0 !important;
  46. }
  47.  
  48. #main-window #navigator-toolbox toolbar
  49. {
  50.     -moz-appearance: toolbox !important;
  51.     border: 0 none !important;
  52. }
  53.  
  54. #main-window #navigator-toolbox #toolbar-menubar,
  55. #main-window #navigator-toolbox #PersonalToolbar
  56. {
  57.     opacity: 0.99;
  58. }
  59.  
  60. #main-window #navigator-toolbox #toolbar-menubar,
  61. #main-window #navigator-toolbox #toolbar-menubar menubar,
  62. #main-window #navigator-toolbox #nav-bar
  63. {
  64.     -moz-appearance: none !important;
  65. }
  66.  
  67. /* More padding on nav-bar like IE */
  68. #main-window #nav-bar[iconsize="small"]
  69. {
  70.     padding-bottom: 5px !important;
  71. }
  72.  
  73. #main-window #navigator-toolbox #toolbar-menubar,
  74. #main-window #navigator-toolbox toolbarbutton
  75. {
  76.     background-color: rgba(255, 255, 255, 0.0);
  77.     text-shadow: rgba(255, 255, 255, 0.5) 0px 0px 5px,
  78.         rgba(255, 255, 255, 0.5) 0px 0px 5px,
  79.         rgba(255, 255, 255, 0.5) 0px 0px 5px,
  80.         rgba(255, 255, 255, 0.5) 0px 0px 5px,
  81.         white 0px 0px 6px;
  82.     opacity: 0.99 !important;
  83. }
  84.  
  85. #main-window:not([active="true"]) #navigator-toolbox #toolbar-menubar menubar > menu
  86. {
  87.     color: black !important;
  88. }
  89.  
  90. #main-window #navigator-toolbox
  91. {
  92.     background-color: black !important;
  93. }
  94.  
  95. #identity-box
  96. {
  97.     margin-left: 0 !important;
  98.     -moz-border-radius-topleft: 0 !important;
  99.     -moz-border-radius-bottomleft: 0 !important;
  100.     -moz-background-clip: padding !important;
  101.     border-left: 0 none !important;
  102.     border-top: 1px solid transparent!important;
  103.     border-bottom: 1px solid transparent !important;
  104. }
  105.  
  106. #main-window #searchbar .searchbar-textbox,
  107. #main-window #urlbar
  108. {
  109.     -moz-background-clip: padding;
  110.     background-color: rgba(255, 255, 255, 0.75) !important;
  111.     opacity: 0.99 !important;
  112.     border: 3px solid white !important;
  113.     -moz-border-top-colors: rgba(255, 255, 255, 0.5) rgba(50, 50, 50, 0.7) rgba(255, 255, 255, 0.95) !important;
  114.     -moz-border-right-colors: rgba(255, 255, 255, 0.5) rgba(50, 50, 50, 0.3) rgba(255, 255, 255, 0.95)!important;
  115.     -moz-border-bottom-colors: rgba(255, 255, 255, 0.5) rgba(50, 50, 50, 0.3) rgba(255, 255, 255, 0.95)!important;
  116.     -moz-border-left-colors: rgba(255, 255, 255, 0.5) rgba(50, 50, 50, 0.7) rgba(255, 255, 255, 0.95)!important;
  117.     -moz-appearance: none !important;
  118.     -moz-border-radius: 3px !important;
  119. }
  120.  
  121. #main-window #urlbar[level="high"] > .autocomplete-textbox-container,
  122. #main-window #urlbar[level="high"] > .autocomplete-history-dropmarker
  123. {
  124.     background-color: rgba(245, 246, 190, 0.65) !important;
  125. }
  126.  
  127. #main-window #searchbar .searchbar-textbox[focused="true"],
  128. #main-window #urlbar[focused="true"]
  129. {
  130.     background-color: rgba(255, 255, 255, 0.99) !important;
  131.     -moz-border-top-colors: rgba(255, 255, 255, 0.5) rgba(50, 50, 50, 0.7) rgba(255, 255, 255, 0.99) !important;
  132.     -moz-border-right-colors: rgba(255, 255, 255, 0.5) rgba(50, 50, 50, 0.3) rgba(255, 255, 255, 0.99)!important;
  133.     -moz-border-bottom-colors: rgba(255, 255, 255, 0.5) rgba(50, 50, 50, 0.3) rgba(255, 255, 255, 0.99)!important;
  134.     -moz-border-left-colors: rgba(255, 255, 255, 0.5) rgba(50, 50, 50, 0.7) rgba(255, 255, 255, 0.99)!important;
  135. }
  136.  
  137. #main-window #urlbar[level="high"][focused="true"] > .autocomplete-textbox-container,
  138. #main-window #urlbar[level="high"][focused="true"] > .autocomplete-history-dropmarker
  139. {
  140.     background-color: rgba(245, 246, 190, 0.99) !important;
  141. }
  142.  
  143. #main-window #searchbar .searchbar-textbox:hover:not([focused="true"]),
  144. #main-window #urlbar:hover:not([focused="true"])
  145. {
  146.     background-color: rgba(255, 255, 255, 0.90) !important;
  147. }
  148.  
  149. #main-window #urlbar[level="high"]:hover:not([focused="true"]) > .autocomplete-textbox-container,
  150. #main-window #urlbar[level="high"]:hover:not([focused="true"]) > .autocomplete-history-dropmarker
  151. {
  152.     background-color: rgba(245, 246, 190, 0.65) !important;
  153. }